<?php 
	session_start();
	if($_POST){
		$_SESSION['img'] = $_POST['src'];
		echo 1;
	}

 ?>